package springmaven;

import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

public class PasswordEncoder {
	public static void main(String[] args) {
		int t = 0;
		String password = "rootroot";
		System.out.println(password + " -> ");
		for (t = 1; t <= 20; t++) {
		    BCryptPasswordEncoder passwordEncoder = new BCryptPasswordEncoder();
		    String hashedPassword = passwordEncoder.encode(password);
		    System.out.println(hashedPassword);
		}
	}
}
